package com.zhou.base.dynamic.ds.test;

/**
 * @description:
 * @author xianfeng
 * @date 2023/12/23 16:07
 */

import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

/**
 * @EnableAsync
 * //@EnableScheduling
 * //不适用数据库启动时的测试
 * //@SpringBootApplication(exclude = {DruidDataSourceAutoConfigure.class})
 * @SpringBootApplication
 * public class QuartzTestApplication {
 *     public static void main(String[] args) {
 *         SpringApplication.run(QuartzTestApplication.class, args);
 *     }
 * }
 */
@Slf4j
@SpringBootApplication
@MapperScan("com.zhou.base.dynamic.ds.test.mapper")
public class DynamicDsApplication {

    public static void main(String[] args) {
        SpringApplication.run(DynamicDsApplication.class, args);
        log.info("open http://localhost:8080/swagger-ui.html");
    }
}
